package com.robot.console.client.actions;

import com.go.core.Message;
import com.robot.console.client.common.ISingleClientAction;
import com.robot.console.config.CommendParams;

/**
 * This is just a demo
 * 
 * @author argpunk
 * 
 */
public class TalkMsgAction implements ISingleClientAction
{

	@Override
	public Message prepareMessage(String args)
	{
		Message xmlMessage = new Message(CommendParams.TALK_MSG);
		xmlMessage.setAttribute(CommendParams.ATTR_MSG, args);
		return xmlMessage;
	}

	@Override
	public String getName()
	{
		return CommendParams.TALK_MSG;
	}
}
